
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新华纸条</title>
    <link href="../static/css/insert.css" rel="stylesheet" type="text/css"/>
</head>
<body class="container">

<form th:object="${user}">
    <table>

        <tr>
            <td class="login-wrapper"><h1>新华纸条</h1></td>
        </tr>
        <tr>
            <td><label th:switch="${user.sex}">
                <p th:case="1">男孩纸</p>
                <p th:case="0">女孩纸</p>
            </label></td>
        </tr>
        <tr>
            <td><label >
                <p th:text="'昵称: ' + ${user.userName}"></p>
            </label></td>
        </tr>
        <tr>
            <td><label >
               <p th:text="' 年级: ' + *{grade}"></p>
            </label></td>
        </tr>
        <tr>
            <td><label >
                <p th:text="'专业: ' + *{major}"></p>
            </label></td>
        </tr>
        <tr>
            <td><label >
                <p th:text="'家乡: ' + *{hometown}"></p>
            </label></td>
        </tr>
        <tr>
        <td><label >
           <p th:text="'微信: ' + *{vx}"></p>
        </label></td>
    </tr>
        <tr>
            <td><label >
                <p th:text="'爱情宣言: ' + *{introduce}"></p>
            </label></td>
        </tr>






    </table>
</form>

</body>

</html>

